package com.generalbackend;
/**
 * @author tim.xie
 * @date 2021/11/17 14:13
 */

import com.generalbackend.common.listener.MyApplicationListener;
import com.generalbackend.role.util.RoleConf;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 *
 * @author tim.xie
 * @date 2021/11/17 14:13
 */
@SpringBootApplication
public class WebApplication {

    public static void main(String[] args) {
        RoleConf.loadProperty();
        SpringApplication springApplication = new SpringApplication(WebApplication.class);
        springApplication.addListeners(new MyApplicationListener());
        springApplication.run(args);
    }

}
